package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter@Setter
public class TravelReplyComment extends BaseDomain{

    private User commentUser;//评论用户

    private User replyUser;//回复用户

    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//创建时间

    private String content;//回复内容

    private TravelComment travelComment;//所属游记评论

    private Integer state = 1;//状态
}